<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">user_id</label>
            <div class="layui-input-block">
                <input type="text" name="user_id" class="layui-input" lay-verify="required" placeholder="请输入user_id" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">优惠卷名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input" lay-verify="required" placeholder="请输入优惠卷名称" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">使用条件</label>
            <div class="layui-input-block">
                <input type="text" name="condition" class="layui-input" lay-verify="required" placeholder="请输入使用条件" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">0-立减劵 1-折扣卷</label>
            <div class="layui-input-block">
                <input type="text" name="type" class="layui-input" lay-verify="required" placeholder="请输入0-立减劵 1-折扣卷" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">折扣</label>
            <div class="layui-input-block">
                <input type="text" name="discount" class="layui-input" lay-verify="required" placeholder="请输入折扣" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">0-可随意使用 1-仅能用一张 2-以此类推</label>
            <div class="layui-input-block">
                <input type="text" name="count" class="layui-input" lay-verify="required" placeholder="请输入0-可随意使用 1-仅能用一张 2-以此类推" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">0-平台 1-商家 2-商品</label>
            <div class="layui-input-block">
                <input type="text" name="belong" class="layui-input" lay-verify="required" placeholder="请输入0-平台 1-商家 2-商品" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">门店ID</label>
            <div class="layui-input-block">
                <input type="text" name="sotre_id" class="layui-input" lay-verify="required" placeholder="请输入门店ID" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">商品ID</label>
            <div class="layui-input-block">
                <input type="text" name="goods_id" class="layui-input" lay-verify="required" placeholder="请输入商品ID" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">0-正常使用 1-已过期 2-已禁用</label>
            <div class="layui-input-block">
                <input type="text" name="state" class="layui-input" lay-verify="required" placeholder="请输入0-正常使用 1-已过期 2-已禁用" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">starttime</label>
            <div class="layui-input-block">
                <input type="text" name="starttime" class="layui-input" lay-verify="required" placeholder="请输入starttime" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">endtime</label>
            <div class="layui-input-block">
                <input type="text" name="endtime" class="layui-input" lay-verify="required" placeholder="请输入endtime" value="">
            </div>
        </div>
        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>